<script setup>
import {onBeforeMount, onMounted, onUnmounted, onUpdated, ref} from "vue";
import {useRouter, useRoute, onBeforeRouteUpdate} from 'vue-router'

</script>

<template>
  <van-tabbar v-model="$route.name">
    <van-tabbar-item name="home" icon="home-o" to="/">主页</van-tabbar-item>
<!--    <van-tabbar-item name="search" icon="search">标签</van-tabbar-item>-->
    <van-tabbar-item name="explore" icon="gem-o" to="explore">探索</van-tabbar-item>
    <van-tabbar-item name="user" icon="manager-o" to="user">我的</van-tabbar-item>
  </van-tabbar>
</template>

<style scoped>

</style>